Thread: (Community Game) Round Robin for C++ [Round 01]

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108

    (Community Game) Round Robin for C++ [Round 01]

    Remember:

    This is a community game! Above all, it should be fun. Consider your options, figure out where your contribution would have the most effect, and please don't try cheating. We all know the intent of the rules; it shouldn't be necessary to go into a lot of detail, and circumventing that intent is only going to be a drain on the game.

    If you want to play in round two, drop a line in the other thread and let us know.

    If you have a good idea for the project for round two, again, drop a line in the other thread.




    Scoring:

    As we iterate over the contributor list, every valid insertion scores one point, every addition scores two points, and every correction scores three points.

    Perhaps we can get a moderator to update the scores on the first post every once in a while?




    Project:

    Develop an application to gather simple statistical data for a simple ASCII text document. (You may assume platform native newlines, standard punctuation, and that no words are hyphenated.)

    The application should process the input file's name as the first and only command line argument.

    The application should produce a sorted list of frequencies for every word found in the input.

    The application should produce the mean and mode of word lengths.

    The application should produce the shortest and longest words.




    Base Code:

    Code:
    int main
    (
        int argc
      , char ** argv
    )
    {
    }



    Rules:

    1) Standard conforming C++ only!

    2) One simple additions accounting for simple control constructs OR one insertion OR one correction per contributor turn. (Additional include directives do not count towards these options.)

    3) Contributors have 24 hours to take their turn; if a contributer misses their turn, they will be passed over until it would be their turn again.

    4) Let's keep a simple clean style for the sake of simplicity; newbies may want to play and they don't need some crazy style to complicate matters. (You don't have to my style as above though; it was just an example.)




    Contributors:

    EVOEx
    User Name
    VirtualAce
    msh
    glo
    Sipher
    Perspective
    laserlight
    Yarin
    whiteflags
    cpjust
    C_ntua
    phantomotap

    (If you don't want to contribute, try and drop a note saying that you don't want to play.)



    Round Two Preparation: http://cboard.cprogramming.com/gener...und-02%5D.html

    Soma
    Last edited by phantomotap; 04-17-2011 at 02:47 PM. Reason: none of your business

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Round-Robin File
    By phybros in forum C Programming
    Replies: 2
    Last Post: 10-04-2009, 05:35 PM
  2. round-robin
    By 3pid in forum C++ Programming
    Replies: 1
    Last Post: 01-29-2009, 11:13 AM
  3. Round Robin Scheduling using c.
    By eclipt in forum C Programming
    Replies: 8
    Last Post: 12-28-2005, 04:58 PM
  4. round robin algorithm!
    By visham in forum C Programming
    Replies: 9
    Last Post: 10-13-2005, 03:14 AM
  5. Countout (Round Robin) Game
    By Hexxx in forum C Programming
    Replies: 12
    Last Post: 12-22-2003, 07:58 AM